package com.rainy.guoran.business.manager.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Schema(title = "用户模型", description = "响应视图用户模型的VO")
@AllArgsConstructor
@Data
public class UserInfoVO {
    @Schema(name = "用户ID", description = "用户ID", format = "int64", example = "1")
    private Long id;
    @Schema(name = "用户姓名", description = "用户姓名", example = "Rainy")
    private String name;
    @Schema(name = "年龄", description = "年龄属性", format = "int32", example = "30")
    private Integer age;
    @Schema(name = "地址", description = "地址", example = "上海")
    private String address;
    @Schema(name = "爱好", description = "爱好（List类型）", type = "array", example = "[\"码代码\", \"看电影\"]")
    private List<String> likes;
}
